﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>Callback</title>
</head>
<body>
    <div>
        <script type="text/javascript">
            window.onload = function()
            {
                if (window.dialogArguments) // Internet Explorer supports window.dialogArguments
                { 
                    opener = window.dialogArguments;
                }

                opener.googleLoggedIn(@ViewBag.Success.ToString().ToLower());
                window.close();
            };
        </script>
    </div>
</body>
</html>
